import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
const routes: Array<RouteRecordRaw> = [
    {
      path: '/',
      name: 'main',
      component:  () => import("../page/Homepage.vue"),
    },
    {
      path: '/monitor',
      name: 'monitor',
      component: () => import('../page/JiankongPage.vue'),
    },
  ]
  
  const router = createRouter({
    history: createWebHashHistory(),
    routes
  });

  export default router